package Brettspiel;

public class DameSubMove {
	int oldXPos, oldYPos, newXPos, newYPos;
	// DameSubMove speichert die Zeilzuege XY Werte
	public DameSubMove(int oldXPos, int oldYPos, int newXPos, int newYPos) {
		setOldXPos(oldXPos);
		setOldYPos(oldYPos);
		setNewXPos(newXPos);
		setNewYPos(newYPos);
	}
	public int getNewXPos() {
		return newXPos;
	}
	public int getNewYPos() {
		return newYPos;
	}
	public int getOldXPos() {
		return oldXPos;
	}
	public int getOldYPos() {
		return oldYPos;
	}
	public void setNewXPos(int newXPos) {
		this.newXPos = newXPos;
	}
	public void setNewYPos(int newYPos) {
		this.newYPos = newYPos;
	}
	public void setOldXPos(int oldXPos) {
		this.oldXPos = oldXPos;
	}
	public void setOldYPos(int oldYPos) {
		this.oldYPos = oldYPos;
	}
}